package com.example.administrator.myapplication.form;

import com.example.administrator.myapplication.BasePresenter;
import com.example.administrator.myapplication.BaseView;
import com.example.administrator.myapplication.data.Task;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27.
 */

public interface FormContract {


    interface View extends BaseView<Presenter>{

        void showTasks(List<Task> tasks);

        void select(String content);

        void showSelectedTask(List<Task> tasks);

    }



    interface Presenter extends BasePresenter{


        void startSelected(String content);

        void loadTasks();

        void loadTask();

        String formatDate(long timeMillions);

        void getSelectedTask(String content);
    }


}
